package com.erpx.api.param;

import cn.hutool.core.annotation.Alias;
import lombok.Data;

import java.util.List;

@Data
public class PlatformOrderCreateParam {

    @Alias("tid")
    private String tid;
    @Alias("trade_status")
    private Integer tradeStatus;
    @Alias("pay_status")
    private String payStatus;
    @Alias("delivery_term")
    private String deliveryTerm;
    @Alias("trade_time")
    private String tradeTime;
    @Alias("pay_time")
    private String payTime;
    @Alias("fenxiao_type")
    private String fenxiaoType;
    @Alias("purchase_id")
    private String purchaseId;
    @Alias("fenxiao_nick")
    private String fenxiaoNick;
    @Alias("buyer_nick")
    private String buyerNick;
    @Alias("buyer_email")
    private String buyerEmail;
    @Alias("pay_id")
    private String payId;
    @Alias("pay_account")
    private String payAccount;
    @Alias("pay_method")
    private String payMethod;
    @Alias("receiver_name")
    private String receiverName;
    @Alias("receiver_province")
    private String receiverProvince;
    @Alias("receiver_city")
    private String receiverCity;
    @Alias("receiver_district")
    private String receiverDistrict;
    @Alias("receiver_address")
    private String receiverAddress;
    @Alias("receiver_mobile")
    private String receiverMobile;
    @Alias("receiver_telno")
    private String receiverTelno;
    @Alias("receiver_zip")
    private String receiverZip;
    @Alias("logistics_type")
    private String logisticsType;
    @Alias("invoice_kind")
    private String invoiceKind;
    @Alias("invoice_title")
    private String invoiceTitle;
    @Alias("invoice_content")
    private String invoiceContent;

    @Alias("remark_flag")
    private String remarkFlag;
    @Alias("buyer_message")
    private String buyerMessage;
    @Alias("seller_memo")
    private String sellerMemo;
    @Alias("seller_flag")
    private String sellerFlag;
    @Alias("post_amount")
    private String postAmount;
    @Alias("cod_amount")
    private String codAmount;
    @Alias("ext_cod_fee")
    private String extCodFee;
    @Alias("other_amount")
    private String otherAmount;
    @Alias("paid")
    private String paid;
    @Alias("id_card_type")
    private String idCardType;
    @Alias("id_card")
    private String idCard;
    @Alias("is_auto_wms")
    private String isAutoWms;

    //@JsonProperty("order_list")
    private List<PlatformOrderItemCreateParam> itemCreateParamList;

    @Alias("order_list")
    private List<PlatformOrderItemCreateParam> orderList;
}
